package com.opal.system.entity.table;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class OrgDeptExtend {
	@JsonProperty("id")
    private String pkDept;			 //主键
    
	private String pkVid;            //签卡单需要此id，
    
    @JsonProperty("text")
    private String name;              //部门名称
    
    private String pkFatherorg;      //上级部门
    
    private String pkOrg;            //组织外键
    
    private String state;   //默认关闭状态
    
    private List<OrgDeptExtend> children=new ArrayList<OrgDeptExtend>(); //存储部门下级
    /*
    private String address;

    private String code;

    private String createdate;

    private String creationtime;

    private String creator;

    private BigDecimal dataoriginflag;

    private String deptcanceldate;

    private String deptlevel;

    private BigDecimal depttype;

    private BigDecimal displayorder;

    private Long dr;

    private BigDecimal enablestate;

    private String hrcanceled;

    private String innercode;

    private String islastversion;

    private String memo;

    private String mnecode;

    private String modifiedtime;

    private String modifier;


    private String name2;

    private String name3;

    private String name4;

    private String name5;

    private String name6;

    private String orgtype13;

    private String orgtype17;

    private String pkGroup;

    private String pkVid;

    private String principal;

    private String resposition;

    private String shortname;

    private String shortname2;

    private String shortname3;

    private String shortname4;

    private String shortname5;

    private String shortname6;

    private String tel;

    private String ts;

    private String venddate;

    private String vname;

    private String vname2;

    private String vname3;

    private String vname4;

    private String vname5;

    private String vname6;

    private String vno;

    private String vstartdate;

    private String deptduty;

    private String isretail;

    private String chargeleader;

    private String glbdef1;

    private String glbdef2;
	 * private String def1;
	 * 
	 * private String def10;
	 * 
	 * private String def11;
	 * 
	 * private String def12;
	 * 
	 * private String def13;
	 * 
	 * private String def14;
	 * 
	 * private String def15;
	 * 
	 * private String def16;
	 * 
	 * private String def17;
	 * 
	 * private String def18;
	 * 
	 * private String def19;
	 * 
	 * private String def2;
	 * 
	 * private String def20;
	 * 
	 * private String def3;
	 * 
	 * private String def4;
	 * 
	 * private String def5;
	 * 
	 * private String def6;
	 * 
	 * private String def7;
	 * 
	 * private String def8;
	 * 
	 * private String def9;
	 */
    public String getPkDept() {
        return pkDept;
    }

    public void setPkDept(String pkDept) {
        this.pkDept = pkDept == null ? null : pkDept.trim();
    }
    
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPkFatherorg() {
        return pkFatherorg;
    }

    public void setPkFatherorg(String pkFatherorg) {
        this.pkFatherorg = pkFatherorg == null ? null : pkFatherorg.trim();
    }
   
    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg == null ? null : pkOrg.trim();
    }

	public List<OrgDeptExtend> getChildren() {
		return children;
	}

	public void setChildren(List<OrgDeptExtend> children) {
		this.children = children;
	}

	public String getPkVid() {
		return pkVid;
	}

	public void setPkVid(String pkVid) {
		this.pkVid = pkVid;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
    
}